<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="toadd">新增</a>
<table width="500" border="1">
<#list newsList as news>
    <tr>
        <td>${news.ntitle}</td>
        <td>${news.nauthor}</td>
        <td>
            <a href="get?nid=${news.nid}">修改</a>
            <a href="del?nid=${news.nid}">删除</a>
        </td>
    </tr>
</#list>
</table>
</body>
</html>